﻿using BCCommon.TMS.Driver;
using System;
using System.ComponentModel.DataAnnotations;

namespace BCDto.TMS.Driver.DriverExamine
{
    /// <summary>
    /// 司机考试试卷
    /// </summary>
    public class DriverExaminePaperRequestDto
    {
        /// <summary>
        /// 正确答案数量
        /// </summary>
        [Display(Name = "正确答案数量")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public int CorrectAmount { get; set; }

        /// <summary>
        /// 答错题目数量
        /// </summary>
        [Display(Name = "答错题目数量")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public int ErrorAmount { get; set; }
        /// <summary>
        /// 适用业务类型(司机、骑手)
        /// </summary>
        [Display(Name = "适用业务类型(司机、骑手)")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public DriverRoleType AppliedTo { get; set; }

    }
}
